package com.qidian.study.dao;

import com.qidian.study.pojo.Content;
import com.qidian.study.pojo.ContentCat;

import java.util.List;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 */
public interface ContentCatDAO {
    public int save(ContentCat cat);
    public int update(ContentCat cat);
    public ContentCat queryById(Long catId);
    public ContentCat queryByName(String catName);
    public List<ContentCat> queryAll();
}
